package net.plentz.tagger.ui.listeners.events;

public abstract class AbstractEvent<T> {

	public static enum Action {
		SET_GLOBAL_DIRECTORY,
		SET_MUSIC_DATA,
		NONE
	}

	private Action action;
	private T data;

	public AbstractEvent(Action action, T data) {
		this.action = action;
		this.data = data;
	}

	public Action getAction() {
		return this.action;
	}

	public T getData() {
		return this.data;
	}

}
